tests: Pull from file:/// only works with archive-z right now
authorColin Walters <walters@verbum.org>
Tue, 2 Jul 2013 15:24:07 +0000 (11:24 -0400)
committerColin Walters <walters@verbum.org>
Tue, 2 Jul 2013 15:24:07 +0000 (11:24 -0400)
tests/archive-test.sh
tests/t0002-archivez.sh

index 62595cfb33220bc55ce9f55648fff5bf93e60427..9d9c0a2837cb1d638f9ddb52fa66d1c240869f5d 100755 (executable)
@@ -66,12 +66,3 @@ echo "ok cat-file"
 cd ${test_tmpdir}
 $OSTREE fsck
 echo "ok fsck"
-
-cd ${test_tmpdir}
-mkdir repo2
-${CMD_PREFIX} ostree --repo=repo2 init
-${CMD_PREFIX} ostree --repo=repo2 remote add aremote file://$(pwd)/repo test2
-ostree --repo=repo2 pull aremote
-ostree --repo=repo2 rev-parse aremote/test2
-ostree --repo=repo2 fsck
-echo "ok pull with from file:/// uri"
index b9f41919915895f27e38a21177387ca95458671a..34ba7bcdf54fa8c43b23b2fe6493ae368db1b073 100755 (executable)
@@ -27,3 +27,12 @@ setup_test_repository "archive-z2"
 echo "ok setup"
 
 . ${SRCDIR}/archive-test.sh
+
+cd ${test_tmpdir}
+mkdir repo2
+${CMD_PREFIX} ostree --repo=repo2 init
+${CMD_PREFIX} ostree --repo=repo2 remote add aremote file://$(pwd)/repo test2
+ostree --repo=repo2 pull aremote
+ostree --repo=repo2 rev-parse aremote/test2
+ostree --repo=repo2 fsck
+echo "ok pull with from file:/// uri"